let obj = {
  name: '张三',
  age: 13,
  gender: '男'
}
let entries = Object.entries(obj);
// console.log(entries);
let map = new Map(entries);
map.set({realname:'小张'},'小张');
// console.log(map.delete('age'));
console.log(map);
map.forEach((item) => {
  console.log(item);
})
// let keys = map.keys();
// let values = map.values();
// let entries1 = map.entries();
// console.log(keys,values,entries1);